package com.example.demoexp02;

import org.slf4j.LoggerFactory;
import org.springframework.context.ApplicationEvent;

import java.util.logging.Logger;

public class NoticeEvent extends ApplicationEvent {


    private final String message;

    public NoticeEvent(String message){
        super(message);
        this.message = message;
    }
    public String getMessage(){return message;}
}
